<?php
namespace Home\Controller;
use Think\Controller;
class IndexController extends CommonController {
    public function index(){
    	//创建类模型
    	$Mclass = M('mvp_class');
    	$Mname = $Mclass->select();
    	// var_dump($Mname);
    	$this->assign('Mname',$Mname);

    	
    	$this->display();
    }  

  
}